package com.salesmanager.core.business.report.service;

import java.io.File;
import java.io.InputStream;
import java.util.Map;

import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.JasperReport;

public interface JasperReportService {
	
	JasperReport compileReport(InputStream inputFile);
	
	JasperPrint fillReport(JasperReport report, Map parameters);
	
	JasperPrint fillReport(InputStream input, Map parameters);
	
	byte[] exportToExcel(JasperPrint filledReport);
	
	byte[] exportToPdf(JasperPrint filledReport);
	
	byte[] exportToHtml(JasperPrint filledReport);
	
	byte[] exportToHtml(JasperPrint filledReport, int page);
}
